var log =console.log;
var user ={username:"hanyu", age:23,qq:"2021372049"}; 

//三种占位符
log("username:%s",user.username);//字符串
log("age:%d",user.age);//整数
log("user:%j",user);//JSON数据

log(`${user.username}`);